//
//  AddressBookView.m
//  ZKingAddressBook
//
//  Created by zkingsoft on 15/12/24.
//  Copyright (c) 2015年 zkingsoft. All rights reserved.
//

#import "AddressBookView.h"

@implementation AddressBookView

- (instancetype)init{
    self = [super init];
    if (self) {
        self.tableView = [[UITableView alloc] init];
        [self addSubview:self.tableView];
        [self.tableView makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.left).offset(0);
            make.right.equalTo(self.right);
            make.top.equalTo(self.top);
            make.bottom.equalTo(self.bottom);
        }];
    }
    
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
